let xxx = {
    name: 'xxx',
    data() {
        return {
            name: 'component-footer'
        };
    },
    computed: {},
    methods: {
        // 返回主页
        goHome() {
            this.$router.push('/');
        }
    },
    template: document.getElementById('xxx').innerHTML
};
Vue.component('xxx', xxx);
